package com.gjs.common.enums.entity;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.gjs.common.enums.IEntityEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum LibraryAttachFileTypeEnum implements IEntityEnum {
    @ApiModelProperty("原始素材文件")
    ORIGINAL(1, "原始素材文件"),
    @ApiModelProperty("缴送成品")
    FINISH_PRODUCT(2, "缴送成品"),
    @ApiModelProperty("缴送附属品")
    ATTACH(3, "缴送附属品"),
    @ApiModelProperty("数字资源")
    DIGITAL_RESOURCES(4, "数字资源"),
            ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String text;
}
